package com.zh;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableDiscoveryClient
// 开启feign的客户端
@EnableFeignClients(value ="com.zh.remote.api")
public class OrderApp {
    // 主启动类
    public static void main(String[] args) {
        SpringApplication.run(OrderApp.class, args);
    }

}
